<template>
  <div class="big">
    <div class="header_top">
      <div class="header_top_work">
        <div class="title-name">工作计划</div>
        <span>(2023/05/04-2023/06/02)</span>
      </div>
      <div class="cha">查看全部</div>
    </div>

    <div class="nav_tabs">
      <a-tabs v-model:activeKey="activeKey" :size="size" style="width: 450px;">
        <a-tab-pane key="1" tab="一处"></a-tab-pane>
        <a-tab-pane key="2" tab="二处" force-render></a-tab-pane>
        <a-tab-pane key="3" tab="三处"></a-tab-pane>
        <a-tab-pane key="4" tab="四处"></a-tab-pane>
        <a-tab-pane key="5" tab="五处"></a-tab-pane>
        <a-tab-pane key="6" tab="六处"></a-tab-pane>
        <a-tab-pane key="7" tab="教学科研处"></a-tab-pane>
        <a-tab-pane key="8" tab="财务处"></a-tab-pane>
        <a-tab-pane key="9" tab="综合处"></a-tab-pane>
      </a-tabs>
    </div>

     <div class="content">
      <div v-if="activeKey === '1'">内容：一处</div>
      <div v-if="activeKey === '2'">内容：二处</div>
      <div v-if="activeKey === '3'">内容：三处</div>
      <div v-if="activeKey === '4'">内容：四处</div>
      <div v-if="activeKey === '5'">内容：五处</div>
      <div v-if="activeKey === '6'">内容：六处</div>
      <div v-if="activeKey === '7'">内容：教学科研处</div>
      <div v-if="activeKey === '8'">内容：财务处</div>
      <div v-if="activeKey === '9'">内容：综合处</div>
    </div>
  </div>
</template>
<script lang="ts" setup>
import { ref } from 'vue';
const activeKey = ref('1');
import type { TabsProps } from 'ant-design-vue';
const size = ref<TabsProps['size']>('small');
</script>
<style scoped>
.big {
  width: 560px;
  height: 610px;
  background-color: #fff;
  border-radius: 4px;
  padding-left: 8px;
  margin: 16px 0px 0px;
}

.header_top {
  width: 100%;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
}

.header_top_work {
  height: 55px;
  display: flex;
  align-items: center;
}

.title-name {
  height: 55px;
  padding: 17px 0px;
  font-size: 16px;
  font-weight: 900;
  color: #333;
  margin-right: 20px;
}

.cha {
  width: 100px;
  font-size: 14px;
  height: 55px;
  color: #999;
  cursor: pointer;
  line-height: 55px;
}

.nav_tabs {
  width: 100%;
  height: 40px;
}
.content{
  width: 100%;
  height: 511px;
  border:1px solid #eee;

}
</style>
